//request封装
let host = 'https://nfgj.jdpin.com.cn/api/wxopen/'   // 设置API接口的ip地址和端口

let apiList = {

  GetToken: host + 'Login/GetToken',     //获取Tokem

  GetUserMobileInfo: host + 'Login/GetUserMobileInfo',   //获取手机号

  GetUserMobileInfoNew: host + 'Login/GetUserMobileInfo_New',   //获取手机号

  SaveUserInfo: host + 'User/SaveUserInfo',  //保存用户信息

  GetShopList: host + 'Shop/GetShopList',  //获取品牌列表

  GetShopModel: host + 'Shop/GetShopModel',  //获取品牌详情

  GetNewsTop: host + 'News/GetNewsTop',  //获取新闻头条

  GetNewsModel: host + 'News/GetNewsModel',  //获取新闻详情

  GetNewsList: host + 'News/GetNewsList',  //获取新闻列表

  Getuserinfo: host + 'user/getuserinfo',  //获取用户信息

  GetTypeList: host + 'Type/GetTypeList',  //获取分类、楼层，groupid=2&categoryid=0  是品牌分类，groupid=2&categoryid=1  是楼层分类

  PostScorePhoto: host + 'ScoreLog/PostScorePhoto',  //积分拍照提交

  GetScoreLogList: host + 'ScoreLog/GetScoreLogList',  //积分变动纪录

  SaveUserInfoByScore: host + 'User/SaveUserInfoByScore',  //提交个人资料

  PostShareArticleScore: host + 'ScoreLog/PostShareArticleScore',  //转发文章调用

  PostSignInScore: host + 'ScoreLog/PostSignInScore',  //签到

  GetHuoDongList: host + 'HuoDong/GetHuoDongList',  //活动列表

  GetHtmlList: host + 'Html/GetHtmlList',  //banner获取

  PostHuoDong: host + 'HuoDongLog/PostHuoDong',  //活动报名

  PostScoreGood: host + 'GoodLog/PostScoreGood',  //兑换商品

  GetHuoDongLogList: host + 'HuoDongLog/GetHuoDongLogList',  //查看我的报名

  GetGoodLogList: host + 'GoodLog/GetGoodLogList',  //查看我的兑换列表

  GetGoodList: host + 'Good/GetGoodList',  //获取积分山城物品 Groupid = 5 是积分商城商品的内容      groupid = 6 就是优惠券的内容

  PostCodeScoreGood: host + 'GoodLog/PostCodeScoreGood',  //卡卷核销

  GetUserTaskFlag: host + 'User/GetUserTaskFlag',  //任务完成度查看

  GetIndexHtmlList: host + 'Html/GetIndexHtmlList',  //任务完成度查看

  LuckyDraw: host + 'GoodLog/LuckyDraw',  //获取抽中的商品

  GetVerifyGoodLogList: host + 'GoodLog/GetVerifyGoodLogList',  //获取核销记录 (Auth)

  GetVerifyHuoDongLogList: host + 'HuoDongLog/GetVerifyHuoDongLogList',  //获取核销记录 (Auth)

  PostNewsHits: host + 'news/PostNewsHits',  //点赞

  VerifyHuoDongByCode: host + 'HuoDongLog/VerifyHuoDongByCode',  //活动核销

  SendMessageByGood: host + 'GoodLog/SendMessageByGood',  //发送短消息验证 (Auth)

  GetHuoDongListNoPage: host + 'HuoDong/GetHuoDongListNoPage',  //获取活动列表 (Auth)
  
  GetTypeListNew: host + 'Type/GetTypeList_New',  //获取分类

  GetGoodsByGroups: host + 'Good/GetGoodsByGroups',  //获取商品

  GetPriceByCarNo: host + 'Stop/GetPriceByCarNo',  //获取停车费用

  GetPayInfo: host + 'Stop/GetPayInfo',  //支付停车费

  InquiryNotify: host + 'WxPay/InquiryNotify',  //支付通知

  PostOrderReturn: host + 'GoodLog/PostOrderReturn',  //申请退款 商品

  PostOrderReturn: host + 'HuoDongLog/PostOrderReturn',  //申请退款 活动

  PostHuoDongCangCi: host + 'HuoDongLog/PostHuoDongCangCi',  //查看活动场次人数是否满员
  
  Save: host + 'Invoice/Save',  //保存发票抬头

  OpenInvoiceHuoDong: host + 'Invoice/OpenInvoice_HuoDong',  //活动开票
  
  OpenInvoiceShop: host + 'Invoice/OpenInvoice_Shop',  //商品开票

  GetInvoice: host + 'Invoice/GetInvoice',  //获取抬头详情
  
  GetInvoices: host + 'Invoice/GetInvoices',  //获取抬头列表

  Delete: host + 'Invoice/Delete',  //删除抬头

  AccoutLogin: host + 'Login/AccoutLogin',  //商户登录

  GetHuoDongCangCiDetail: host + 'HuoDongLog/GetHuoDongCangCiDetail',  //获取场次剩余名额

}

module.exports = apiList;    //暴露出来